package com.shop.user.feign.trade;

import com.shop.common.model.param.trade.OrderPayInput;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @Description:
 *
 * @author zhoulk
 * @date: 2019年05月11日  0:00
 */
@FeignClient(name = "trade", fallback = FcFallbackTest.class)
public interface ITradeAtomFeignClientSvc {

    @PostMapping(value = "/trade/atom/payOrder", consumes = "application/json")
    Integer addPayOrder(@RequestBody OrderPayInput orderPayInput);
}
